cmake_minimum_required(VERSION 2.8)

file(GLOB uibase_src "*.cpp")
				
if (${UNIX_OS})
	include_directories(
		${PROJECT_SOURCE_DIR}/include
		${PROJECT_SOURCE_DIR}/crt
		${PROJECT_SOURCE_DIR}/extensions/include
		${by3rd_library_include}
		/usr/local/include
		/opt/local/include
		/usr/include
		)
elseif (${WIN_OS})

else()

endif()




add_library(uibase SHARED  ${ui_src} ${uibase_src})

set_target_properties(uibase PROPERTIES OUTPUT_NAME "uibase")
set_target_properties(uibase PROPERTIES COMPILE_FLAGS ${dynamic})
set_target_properties(uibase PROPERTIES COMPILE_FLAGS ${compile})

target_link_libraries(uibase dl stdcrt)
